/**************************************************************************
   Tests the getTemperature and getHumidity functions of the aht20 library
 **************************************************************************/
#include <am2120.h>
#define AM2120_SDA 33

void setup()
{
  Serial.begin(115200);
}

void loop()
{
  float temp,humi;
  readAM2120(&temp,&humi);
  Serial.printf("Temp:%.1f  Humi:%.1f\n",temp,humi);
  delay(2000);
}
